package edu.ncu.service;

import edu.ncu.entity.User;
import java.util.List;

public interface UserService {
    List<User> findAll();
    List<User> findByFuzzy(String account, String uname);
    Boolean judgePwd(String account, String upwd);
    User findByUserId(int userId);
    User findByAccount(String account);
    void updateUserState(int state, int userId);
    void updateUserHead(String headPhoto, int userId);
    void saveUser(User user);
    void updateUser(User user);
    List<User> findLikeAccount(String account) ;
}
